package site.koudai.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Data
public class Permission {

    private Integer id;
    private String name;
    private String code;
    private String type;

    @TableField(exist = false)
    private List<List<DataRule>> dataRuleList;
    @TableField(exist = false)
    private Set<String> allowFields;
}
